﻿using System;
using Dxr.Police.IACS.Models;
using Dxr.Police.Models;

namespace Dxr.Police.IACS.FullText
{
    public class SHZY_QSYDW_DWXXSource : DataSourceBase<SHZY_QSYDW_DWXX>
    {
        protected override void OnInserting(SHZY_QSYDW_DWXX model, UserInfo user)
        {
            base.OnInserting(model, user);

            model.CREATE_BY = user.Id;
            model.CREATE_DATE = DateTime.Now;
        }
    }

    public class SHZY_QSYDW_DWXX : ISourceModel
    {
        [Source("主键", Key = true, Skip = true)]
        public int ID { get; set; }


        public string XXLB { get; set; }


        [Source("类别", Show = true, ShowIndex = 0)]
        public string DWLB { get; set; }


        public string QSYDWBH { get; set; }


        [Source("单位名称", Show = true, ShowIndex = 1, Condition = true)]
        public string QSYDWMC { get; set; }


        [Source("负责人", Show = true, ShowIndex = 2, Condition = true)]
        public string FZR { get; set; }


        [Source("电话", Show = true, ShowIndex = 3, Condition = true)]
        public string PHONE { get; set; }


        public string DWSZQH { get; set; }


        [Source("地址", Show = true, ShowIndex = 4, Condition = true)]
        public string DWDZ { get; set; }


        public string GZRYZS { get; set; }


        public string YWGSZZ { get; set; }


        public string GSZCH { get; set; }


        public string BWGZFGLD { get; set; }


        public string FZRBGS { get; set; }


        public string FZRSJHM { get; set; }


        public string BWGZFZR { get; set; }


        public string BWBGSDH { get; set; }


        public string BWFZRSJHM { get; set; }


        public string QT { get; set; }


        public string CJDW { get; set; }


        public string CJSJ { get; set; }


        public string SBYF { get; set; }


        public string SSQXDM { get; set; }


        public string ZYSSBM { get; set; }


        public string CJRY { get; set; }


        public string ZYCJSJ { get; set; }


        public string DRSJ { get; set; }


        public string DRRY { get; set; }


        public string DRRLXDH { get; set; }


        public string UPDATE_BY { get; set; }


        public string UPDATE_DATE { get; set; }


        public string DEL_FLAG { get; set; }


        public string CREATE_BY { get; set; }

        [Source("创建时间", Order = true)]
        public DateTime? CREATE_DATE { get; set; }


        public string REMARKS { get; set; }

        public DataType DataType => DataType.Company_Info;
    }
}
